const Mock = require('mockjs');
let users = []
for (let index = 0; index < 8; index++) {
    users.push({
           "id|1000-10000": 1000,
           "age|0-200": 30,
           "name": "@cname",
           "type|1": ["学生", "老师", "个人"],
           "icon": ["user1.jpg"]
    })
}
export default[
    {
        url:'/mock/userList',
        type:'get',
        response:() =>{
            return{
                "code":200,
                "message":"成功",
                data:users
            }
        }
    }
]